home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
-
- #define ESC 0x1B
- #define SPACE 0x20
- #define CR 0x0D
- #define BS 0x08
- #define LF 0x0A
- #define CR 0x0D
- #define INS 0x12
- #define DEL 0x7F
- #define RIGHT 0x1C
- #define LEFT 0x1D
- #define UP 0x1E
- #define DOWN 0x1F
- #define ON 0x01
- #define OFF 0x00
- #define THRU 0x00
- #define BREAK -1
- #define Rbotton -2
- #define Wbotton -3
- #define page0 0x00
- #define page1 0x01
- #define NEW 0x01
- #define SAVE 0x02
- #define RESTART 0x03
- #define SOUND_ON 0x01
- #define SOUND_OFF 0x02
- #define END 0x01
-
- #define iskanji(c) ((0x81 <= c && c <= 0x9f) || (0xe0 <= c && c <= 0xfc))
- #define iskanji2(c) ((0x40 <= c && c <= 0x7e) || (0x80 <= c && c <= 0xfc))
-
- /* 背景色 */
- #define BAKCOL 0x05
-
- /* winbox色 */
- #define BOXCOL 0x07
- #define UBXCOL 0x08 /* 0x0F */
- #define DBXCOL 0x08 /* 0x08 */
-
- /* wintitle色 */
- #define TITCOL 0x08
- #define UTICOL 0x0F /* 0x07 */
- #define DTICOL 0x08
-
- /* winkom色 */
- #define KOMCOL 0x07
- #define UKOCOL 0x08 /* 0x0F */
- #define DKOCOL 0x08
- #define RKOCOL 0x05 /* winkom反転色 */
-
- /* error時のwintitle色 */
- #define ETICOL 0x0A
- #define EUTCOL 0x0F
- #define EDTCOL 0x01
-
- /* 文字色 */
- #define CHRCOL 0x0F
- #define TCHCOL 0x0F
- #define ECHCOL 0x0F
-
- /* oak使用時の色 */
- #define BOAKCOL 0x05
- #define ROAKCOL 0x07
- #define COAKCOL 0x0F
-
-
-
- /* dabe.c */
-
- void init();
- void end();
- void main2();
- short start();
- void getdrive();
- void getpath();
- void look();
- void dkensaku( char * );
- short dtuika( char * );
- void dsyusei( char *, short, char * );
- short dsakujyo( char *, short );
- void fshinki();
- void fsakujyo();
- char *selfile();
- short selmode( FILE *fp, char * );
- short selmode2( FILE *fp, char *, short );
- short selmode_k( FILE *, char *, short, short * );
- short selmode_k2(FILE *, char *, short );
- short oakn(short, short, short, short, char *);
- short oaks(short, short, short, short, char *);
- short put_oakcur();
- void put_roll_carddata( short );
- void maketitle( char *, char *, char * );
- void makeNo( short, char * );
-
-
- /* dabe_mos.c */
-
- short MOS_read(float, float, short, char *, short, short, short );
- void mos_start();
- void mos_end();
- short mos_sub();
- short MOS_loop();
- short MOS_YesNo();
- void cmwork( char * );
- void putcur( int x, int y );
- void getcurbak( int x, int y );
- void putcurbak( int x, int y );
-
-
-
- /* dabe_gra.c */
-
- void g_putchr(float, float, short, char *);
- short g_putchr2(short, short, short, char *, short);
- void g_winbox(short, short, short, short, short, short, short);
- void g_boxfill(float, float, float, float, short);
- void g_wintitle(float, float, float, short, short, short, short, char *, short, short );
- void g_winkom(float, float, float, short, short, short, short, char *, short );
- void g_under_bar( float, float, float, short, short );
- void g_put_endicn( float, float );
- void g_rput_endicn( float, float );
- void g_put_nexticn( float, float );
- void g_rput_nexticn( float, float );
- void g_put_backicn( float, float );
- void g_rput_backicn( float, float );
- void g_put_msgicn( float, float );
- void g_put_erricn( float, float );
- void g_putbotton( short );
- void put_komdata(char *, short);
- void put_carddata(char *, short);
- void putmessage( char * );
- void puterror( char * );
- void get_xy( short *, short * );
-
-
- /* dabe_fil.c*/
-
- void makepath( char * );
- void makefilename( char *, char * );
- FILE *fopen_crd( char *, char* );
- FILE *fopen_kom( char *, char* );
- void fputx(char *, FILE *);
- char *fgetx(char *, short, FILE *);
-
- /* dabe_snd.c */
- void open_sound();
- void error_sound();
- void sound_off();
- void msg_sound();
-
- /* cons3.c*/
-
- void init_charmap();
- void getstr( char * );
-
-